Dashboard Temp Share Shortlinks Frames API

HTMLify

style.css
Views: 17 | Author: huxn-webdev
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  background: rgb(10, 10, 10);
  height: 100vh;
}

.card-container {
  position: relative;
  width: 320px;
  padding: 40px;
  background: white;
  overflow: hidden;
}

.card-container:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(-100% + 5px);
  width: 100%;
  height: 100%;
  background: blueviolet;
  z-index: 1;
  transition: 1s;
}

.card-container:hover:before {
  bottom: 0;
}

.content {
  position: relative;
  color: #000;
  z-index: 2;
  transition: 1s;
}

h2 {
  font-size: 30px;
}

p {
  line-height: 25px;
  padding: 20px 0;
  margin: 20px 0;
}

a {
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  background: rgb(22, 7, 35);
  padding: 0.6rem 1rem;
}

.card-container:hover .content {
  color: #fff;
}